import os

def makemigrations():
    #empty appname
    #No migrations to apply——》删除迁移文件和数据库里面的migrations记录
    os.system("python manage.py makemigrations")
if __name__ == '__main__':
    makemigrations()